import request from '@/utils/request'
import { getToken } from '@/utils/auth'
export function joinClassByClassNumber(classNumber){
    return request({
        url:"/api/class/join",
        method:"post",
        data:classNumber,
        headers:{
            'Satoken': getToken()
        }
    })
}


export function queryClassStudent(courseId){
    return request({
        url:"/api/class/query?courseId=" + courseId,
        method:"get",
        headers:{
            'Satoken': getToken()
        }
    })
}
